package com.graduation.smartparkingplatform.Service;

import com.github.pagehelper.PageInfo;
import com.graduation.smartparkingplatform.Pojo.Distinguish;
import com.graduation.smartparkingplatform.Pojo.Visitor;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface ComponentService {
  public PageInfo<Visitor> getLog(Integer page, Integer count);

  public Map<String, Object> getLogDevice();

  public Map<String, Object> getStatistics() throws ParseException;

  public PageInfo<Distinguish> getRecord(Integer page, Integer count);

  public List<Object> weekPayment() throws ParseException;

  public List<Object> monthPayment();
}
